package com.education.welco.feign;


import com.education.common.utils.ApiReturnObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "resources-service")
public interface SVideoRecordFeign {

    /**
     *  录播总和
     */
    @RequestMapping(value = "/sVideoRecord/count",method = RequestMethod.GET)
    int videoCount(@RequestParam(value = "userId", required = true) Integer userId);

}
